crypto/tls.keyShare.group (field)
15 uses
crypto/tls (current package)
common.go#L148: group CurveID
handshake_client.go#L156: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L215: if hs.serverHello.serverShare.group != 0 {
handshake_client_tls13.go#L249: hs.hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L332: if hs.serverHello.serverShare.group == 0 {
handshake_client_tls13.go#L336: if sentID, _ := curveIDForCurve(hs.ecdheKey.Curve()); hs.serverHello.serverShare.group != sentID {
handshake_messages.go#L234: exts.AddUint16(uint16(ks.group))
handshake_messages.go#L565: if !clientShares.ReadUint16((*uint16)(&ks.group)) ||
handshake_messages.go#L707: if m.serverShare.group != 0 {
handshake_messages.go#L710: exts.AddUint16(uint16(m.serverShare.group))
handshake_messages.go#L862: if !extData.ReadUint16((*uint16)(&m.serverShare.group)) ||
handshake_server_tls13.go#L187: if ks.group == preferredGroup {
handshake_server_tls13.go#L188: selectedGroup = ks.group
handshake_server_tls13.go#L223: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
handshake_server_tls13.go#L513: if len(clientHello.keyShares) != 1 || clientHello.keyShares[0].group != selectedGroup {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |